/*
Theme Name: mangse
Theme URI: http://www.walleve.com/archives/776
Description: mangse theme for wordpress
Version: 1.2
Author: mangse
Author URI: http://www.mangse.com/
Tags: white, custom-header, fixed-width, two-columns, threaded-comments,light
Text Domain: kubrick
*/
/****** General Styles ******/
html{
	margin:0; 
	padding:0; 
}
body {
	font-size:12px;
	margin:0px; 
	padding:0px;
	line-height:120%;
	text-align:center;
	color:#000;
	font-family :"Microsoft YaHei", Tahoma,Verdana,"Bitstream Vera Sans",Georgia,Times,"Times New Roman",Arial,sans-serif;
	background:#fff;
}

table {
	font-size: 12px;
}
td{
	word-break: break-all;
}

a {
	color:#000;
	text-decoration:none;
}
a:hover {
	color:#0099CC;
	text-decoration:none;
}

hr {
	height: 1px;
	border-top: 1px solid #666666;
}

acronym {
	font-size: 12px;
	border-bottom: 2px solid #666666;
	cursor: help;
	text-decoration: none;
}

img {
	border:0;
}
/****** Form Controls Styles ******/
form {
	display: inline;
}
input {
	padding:0px;
	color:#000;
}
input.text {
	height: 16px!important;
	height: 17px;
	padding:3px 0 0 3px;
	border: 1px solid #ABABAB;
	background:#fff url("images/input-bg.png") no-repeat left top;
}
input.button {
	height: 22px;
	padding:0 3px;
	border: 1px solid #ABABAB;
	background:#fff;
}
textarea { 
	border:1px solid #ABABAB;
	padding:1px;
	font-size:12px;
	text-align:left;
	background:#fff url("images/input-bg.png") no-repeat left top;
}
select { 
	font-size:12px;
	border: 1px solid #ABABAB;
	background:#fff;
	color: #000;
}

blockquote, code, pre {
	color:#7F6847;
	background:#FFF url(images/blockquote.gif) no-repeat 0px 0px;
	border-bottom:1px dashed #999;
	padding:15px 10px 2px 10px;
	margin:5px 0;
	font-size:11px;
	clear:both;
}

#top_nav {
	background:#FFFFFF url(images/top_nav_bg.png) repeat-x;
	height: 27px;
	line-height: 25px;
}
#top_nav ul {
  width: 960px;
  margin: 0 auto;
  padding: 0px 0 0;
  list-style-type: none;
  overflow: hidden;
}

#top_nav ul li {
  display: inline;
  margin-right: 10px;
  float: left;
}

#top_nav ul li a {
  font-size: 12px;
  float: left;
}

#top_nav ul li a:hover {
  text-decoration: none;
}

#top_nav ul span {
  display: block;
  float: right;
  padding-left: 10px;
}
/*导航结束*/

/****** Main Layout Styles ******/
#wrapper {
	width:960px;
	margin:0 auto;
	text-align:center;
}
#innerWrapper {
	text-align:center;
	margin: 15px 0 10px 0;
	/*border-right: 3px solid #E6E6E6;
	border-bottom: 3px solid #E6E6E6;*/
}

#header {
	text-align:left;
	height:60px;
	overflow: hidden;
	background:#FFFFFF;
}

#logo {
	width:77px;
	height:50px;
	padding-left:0px;
	margin-left:1px;
}

#logo .logoimg{
    width:76px;
    height:45px;
    padding-top:5px;
}

#innerHeader {
	margin:0px;
	padding:0px;
}

/****** Header Elements Styles ******/
/* header title */
.blog-header {
	float: left;
}
/* nav menu */
#menu {
	height:20px;
	text-align:left;
	margin:0;
	padding-top:8px;
	padding-left:8px;
	float:left;
	width: 560px;
	overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
	word-wrap: break-all;
	line-height:20px;
}
#menu ul{
	list-style:none;
	float:left;
	margin:0;
	padding:0;
}
#menu li{
	font-weight:normal;
	display: inline;
	float:left;
	margin: 0 5px 0px 3px;
	padding:4px;
	padding:0px;
}
#menu .zhuanti{
	width:100px;
	height:20px;
	padding:0px 0px 0px 0px;
	border-right:0;
}
#menu .cate_t{
	width:16px;
	height:16px;
	padding:5px 0px 0px 0px;
	border-right:0;
	background:url('images/top_cate_bg.png') no-repeat left center;
}
#menu a{
	text-align:center;
	color:#0099cc;
	font-weight:normal;
}
#menu a:hover{
	color:#000;
}
#menu .current_page_item a{
	color:#FF0084;
}

/* menu right*/
#menu_right{
	float: right;
	margin:0;
	padding-top:8px;
	text-align: right;
	width:150px;
}

#top_category {
	border-top: 1px solid #EEEEEE;
	position: relative;
	top:-18px;
	left:85px;
	clear: both;
	_clear:none;
	padding-top: 0px;
	width:880px;
	color: #000;
	overflow:hidden;
	word-wrap: break-all;
}

#top_category ul {
	margin:0;
	padding:0;
	overflow: hidden;
	height:18px;
	width: 880px;
}

#top_category ul li{
	float: left;
	border-right:1px solid #EEEEEE;
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin:0;
	padding:3px 5px 0px 3px;
}
#top_category ul li a{
	color:#666;
}
#top_category ul .cate_t{
	width:16px;
	height:16px;
	padding:5px 0px 0px 0px;
	border-right:0;
	background:url('images/top_cate_bg.png') no-repeat left center;
}
#top_category ul .tag_t{
	width:16px;
	height:16px;
	padding:5px 0px 0px 0px;
	border-right:0;
	background:url('images/top_tag_bg.png') no-repeat left center;
}

#top_category .cat {
	float: left;
	padding:3px;
}

#addrss{
	position:relative;
	float:right;
	height:20px;
	width:100px;
	top:-7px;
	right:20px;
}


#addrss a{
	display:block;
	background:url('images/rss_header.png') no-repeat left top;
	height:35px;
	width:100px;
}
#addrss a:hover{
	background:url('images/rss_header_hover.png') no-repeat left top;
}
/****** Content Layout ******/
#mainWrapper {
	margin:0;
	padding:0px;
	padding-bottom:5px;
	text-align:left;
	/*border: 1px solid #CECECE;*/
}
#mainWrapper img{
	border:1px solid #ddd;
	padding:3px;
	width:950px;
}
/* sidebar */
#sidebar_user {
	float:right;
	width:239px;
	margin-top:1px;
	background:#F1F1F1;
	text-align:left;
}
#sidebar_user .photo_left{
	margin:5px 5px 5px 5px;
}
#sidebar,#sidebar_one {
	float:right;
	width:240px;
	text-align:left;
	margin-top:3px;
	padding:0;
	color:#666;
}
#sidebar a{
	color:#666;
}
#sidebar a:hover{
	color:#0099cc;
}
#sidebar h2,#sidebar_one h2{
	border-bottom:2px solid #DDD;
	text-align:left;
	margin:5px 0px 3px 0px;
	padding:3px 0 3px 3px;
	font-weight:100;
	font-size:14px;
	color:#000;
	clear:both;
}
.sidebar-hide {
	display: none;
}
#sidebar ul,#sidebar_one ul{
	padding:0;
	margin:0;
}
#sidebar ul li{
	list-style:none;
	margin:0px 0px 0 0;
	padding:2px 0px 2px 0px;
	overflow: hidden;
	clear: both;
}
#sidebar ul ul li{
	list-style:none;
	margin:0px;
	padding:2px 0 2px 3px;
	border-bottom:1px solid #EEE;
	overflow: hidden;
	clear: both;
}
#sidebar ul ul ul li{
	list-style:none;
	margin:0px;
	padding:2px 0 2px 15px;
	overflow: hidden;
	clear: both;
	border-bottom:0px;
}
#sidebar_one ul{
	list-style:none;
	margin:0px;
	padding:2px 0 2px 0px;
	overflow: hidden;
	clear: both;
	border-bottom:0px;
}
.children{
	margin:0;
	overflow: hidden;
}

/*widget search_form*/
#searchsubmit {
	height: 22px;
	padding:0 3px;
	border: 1px solid #ABABAB;
	background:#fff;
}
#s{
	border:1px solid #CCC;
	padding: 2px;
	width:120px;
}

/*右侧头像*/
#sidePhotoList {
    margin: 0 0 0 -40px;
}
#sidePhotoList li {
    float: left;
    width: 46px;
    height: 46px;
    overflow: hidden;
    padding: 0 2px 2px 0;
}

#sidePhotoList li img {
    width: 40px;
    height: 40px;
}
#sidePhotoList .avatar{
	border:1pt solid #eee;
	padding:2px;
}
/*登录注册链接*/
#sidebar_register a{
	color:#fff;
	background-color: #333333;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	font-size:16px;
	padding:2px;
	margin:5px;
}
#sidebar_register a:link{
	color:#fff;
}
#sidebar_register a:hover{
	color:#fff;
	background-color: #FE0999;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	font-size:16px;
	padding:2px;
	margin:5px;
}

/*sidebar category 一行两个显示效果*/

#sidebar_category ul:after{
	content:".";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
}

#sidebar_category li.cat-item{
	padding:3px 0px;
	margin: 0 5px 0px;
	list-style: none;
	width:95px;
	clear: none;
	float:left;
}

#sidebar_category li.indent{
	padding: 0px;
	text-indent:8px;
}


/*sidebar_archives
#sidebar_archives ul:after{
	content:".";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
}

#sidebar_archives li{
	clear:none;
	padding:3px 0px;
	margin: 0 2px 0px;
	list-style: none;
	width:95px;
	float:left;
	text-align:left;
}

#sidebar_archives li.indent{
	padding: 0px;
	text-indent:8px;
}
*/
#sidebar_misc{
	padding: 5px 10px;
}

/*sidebar end*/

/* content */
.content {
	float:left;
	padding:0;
	text-align:left;
	width:700px;
}
.content-wide {
	width: auto;
	padding:0;
	margin-top:5px; 
}
.content-only {
	width: 100%;
}
#innerContent {
	margin:0;
	padding:0;
}

.clear{
	border-top:1px solid transparent !important;
	margin-top:-1px !important;
	border-top:0;
	margin-top:0;
	clear:both;
	visibility:hidden;
}

.ll {
float: left;
}
/****** Defaul Page Elements ******/
.article-bottom {
	padding: 0;
	margin-bottom: 5px;
}

/* page links */
.pages {
	margin:0 0 5px 0;
	padding:0 0 0 0;
	color:#000;
}

.pagebar-selections{
	float: right;
	color:#000;
	padding:0px 0;
}
.pagebar-selections a{
	margin-right: 2px;
	font-size: 12px;
	color: #888;
	background-color: #fff;
	text-decoration: none;			
	border:1px solid #D0CECE;
	font-weight:normal;
	padding:4px 6px 2px;
}
.pagebar-selections a:hover{
	color:#0099CC;
	border:1px solid #0099CC;
}
.pagelink-current {
	margin-right: 2px;
	font-size: 12px;
	color: #0099CC;
	background-color: #fff;
	text-decoration: none;			
	border:1px solid #D0CECE;
	font-weight:bold;
	padding:4px 6px 2px;
}

/* entry display box */
.prev-article{ float: left; }
.next-article{ float: right; }

/* text box */

.date {
position:relative;
top:-5px;
left:-26px;
background:transparent url(images/calendar.gif) no-repeat;
color:#666666;
float:left;
font-size:22px;
font-size-adjust:none;
font-stretch:normal;
font-style:normal;
font-variant:normal;
font-weight:normal;
height:50px;
line-height:100%;
padding:0px 2px 0pt 0pt;
text-align:center;
width:45px;
-moz-border-radius: 7px;
-webkit-border-radius: 7px;
}

.date span {
color:#666666;
display:block;
font-size:11px;
font-size-adjust:none;
font-stretch:normal;
font-style:normal;
font-variant:normal;
font-weight:normal;
height:16px;
line-height:normal;
padding-top:5px;
text-align:center;
}

small.author {
	font-weight:normal;
	font-size:12px;
	color:#999999
}

.textbox{
color:#000;
background:#fff url("images/content_bg.png") repeat-y;
margin-bottom: 20px;
}

.textbox_header {
background: url('images/content_border.png') no-repeat left top;
height: 10px;
}

.textbox_footer {
background: url('images/content_border.png') no-repeat left bottom;
height: 10px;
clear:both;
}

.textbox_inner {
	padding:10px 20px;
}

.textbox_full{
color:#000;
background:#fff url("images/content_full_bg.png") repeat-y;
margin-bottom: 20px;
}

.textbox_header_full {
background: url('images/content_full_border.png') no-repeat left top;
height: 10px;
}

.textbox_footer_full {
background: url('images/content_full_border.png') no-repeat left bottom;
height: 10px;
}


.textbox_inner_full {
padding:25px 40px 10px 30px;
}

.textbox_inner_full .textbox-title{
	text-align: left;
	padding:0 0 20px 20px;
	line-height: 100%;
	border-bottom:1px solid #F3F3F3;
}

.textbox-title{
	text-align: left;
	padding:0 0 3px 5px;
	line-height: 100%;
}
.textbox-title h1{
	color:#000000;
	font-size:18px;
	font-weight:bold;
	margin:2px 0;
	padding:0 0 8px 0px;
	clear:both;
	line-height:20px;
	border-bottom:1px solid #F3F3F3;
}
.textbox-title h1 a {
	color:#000;
}
.textbox-title h1 a:hover {
	color:#ff0084;
}

.textbox-title h1 span {
	font-weight: normal;
	color:#666;
	font-size:12px;
	float:right;
}
.textbox-title h1 span a:link {
	color:#666;
}
.textbox-title h1 span a:visited {
	color:#ff0084;
}

.textbox-title .postlist {
	font-size:12px;
	margin-top:15px;
	color:#0099CC;
	font-weight:normal;
	border-bottom:1px solid #ddd;
}
.textbox-title .postlist a {
	margin-top:15px;
	color:#0099cc;
}
.textbox-title .postlist a:hover {
	color:#ff0084;
}
.textbox-title .postlist a:visited {
	color:#aaa;
}
.textbox-title h2.post_author {
	margin:3px 0px 0px 0px;
	font-weight:normal;
	font-size:12px;
	text-align:left;
	height:45px;
}

.textbox-fontsize{
	float:right;
	color:#999;
}
/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
/* End Images */

/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */

.textbox-content{
	font-size:12px;
	word-wrap: break-word;
	text-align:left;
	color: #000;
	line-height: 200%;
	padding:0px 5px 0px 5px; 
}
.textbox-content a{
	color: #663333;
	font-weight:normal;
}
.textbox-content a:hover{
	color:#0099CC;
}
.textbox-content img{
	margin-right:0px;
	padding:2px;
}

.textbox-content ul {
	padding-left:5px;
	padding-right:5px;
}

.article-content a{
	color: #FF0084;
	font-weight:normal;
}

.article-content a:hover{
	color:#0099CC;
	font-weight:normal;
}
.article-content .related_post_div{
	padding:5px;
}
.article-content .related_post_title{
	font-size:14px;
	font-weight:nromal;
	padding:0px 0px 0px 18px;
	margin:0px;
	background:#fff url(images/relate_post.png) no-repeat left center;
	border-bottom:1px dashed #999;
	color:#000;
}
.article-content .related_post{
	margin:0;
	list-style:none;
}
.article-content .related_post li{
	border-bottom:1px solid #eee;
}
.article-content .related_post li a{
	color:#0099cc;
}
.article-content .related_post li a:hover{
	color:#000;
}
.postmetadata {
	clear:both;
	font-size:12px;
}

/* trackback box */
.trackbackbox{
	word-wrap: break-word;
    padding:0;
	margin:0 0 3px 0;
	width:470px;
	color:#FFF;
	background:url('images/trackback-bg.png') repeat-y left top;
}
.trackbackbox-title{
	background:url('images/trackback-top.png') no-repeat left top;
	width:470px;
	min-height:6px;
	height:100%!important;
	height:6px;
	padding:8px;
	font-weight:bold;
	font-size:12px;
}
.trackbackbox-title a{
	color:#FFF;
	font-size:12px;
}
.trackbackbox-label{
	font-size:12px;
	padding:3px 0 0 0;
	font-weight:normal;
}
.trackbackbox-label a{
	font-size:12px;
}
.trackbackbox-content{
	word-wrap: break-all;
	background:url('images/trackback-bottom.png') no-repeat left bottom;
	width:450px;
	min-height:74px;
	height:100%!important;
	height:74px;
	line-height:160%;
	padding:0 10px 10px 10px;
}
.trackbackbox-content a{
	color:#FFF;
	font-weight:bold;
}

/*评论部分*/
/*comments*/
/*comments*/
.commentlist  {
	margin:2px 0px 0px;
	padding:0px;
	text-align: justify;
}
.commentlist li{
	margin: 5px 0px 5px;
	padding: 5px 5px 10px 10px;
	list-style: none;
}
.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
}
.children { padding: 0; }

.commentlist li ul li{
	margin-right: -5px;
	margin-left: 10px;
}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	display:none;
}

.commentmetadata {
	margin: 0;
	display: block;
}
.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	padding-top:5px;
	color:#656565;
	padding-bottom:3px;
}

.commentlist cite,#commentlist cite a {
	font-style:normal;
	color:#000000;
}
.comment-author {
	font-weight:bold;
}
.comment-author a:link {
	font-weight:bold;
	color:#333;
}
.comment-author a:visited {
	font-weight:bold;
	color:#464646;
}

.avatar {
	float:right;
	border: 1pt solid #eee;
	padding:2px;
}

#commentform fieldset {
	padding:0;
	margin:0;
}
#commentform legend {
	color : #464646;
	font-weight:bold;
	margin: 10px 0px 5px;
	padding:2px 0px;
}

#commentform p {
	font-weight: normal;
	text-transform: none;
	margin-bottom:1px;
}
#commentform textarea {
	width:60%;
}
#commentform label, #commentform textarea {
	display:block;
}
#commentform label {
	padding-left:5px;
}
#commentform input[type=text],#registerform input[type=text],#registerform input[type=password] {
height: 16px!important;
	height: 17px;
	padding:3px 0 0 3px;
	border: 1px solid #ABABAB;
	background:#fff url("images/input-bg.png") no-repeat left top;
}
#commentform input[type=submit],#registerform input[type=submit] {
	height: 22px;
	padding:0 3px;
	border: 1px solid #ABABAB;
	background:#fff;
}
.approve {
	border: 1pt solid #ccc;
	background : #eee;
	padding:5px;
}

.comment_time {
	font-size:12px;
	text-align:right;
	clear:both;
}
.commentlist cite,#commentlist cite a {
	font-style:normal;
	color:#000000;
}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 30px;
	background:#fff6ee;
}
.thread-alt {
	background-color: #f8f8f8;
}
.thread-even {
	background-color: white;
}
.depth-1 {
	border: 1px solid #ddd;
}
.even, .alt {
	border-left: 1px solid #ddd;
}

/*template archives*/
#archives ul:after{
	content:".";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
}
#archives {
	width:100%;
}
#archives ul {
	margin-left:-10px;
}
#archives li{
	padding:3px 5px;
	margin: 0 5px;
	list-style: none;
	float:left;
	display:inline;
}

#archives li.indent{
	padding: 0px;
	text-indent: 8px;
}

.links_ul .cata li { float: left; width: 100px; overflow: hidden; }

/*index/single*/
.photo_left {
	float:left;
	height:42px;
	width:42px;
	border-style:solid;
	border-width:1px;
	border-color:#CCCCCC; 
	margin-top:2px;  
}
.author_right {
	float:left;
	height:42px;
	margin-left:5px;
	margin-top:2px;
}
.author_right_top
{
    height:20px;
    line-height:27px;
}
.author_right_bottom
{
	height:20px;
	line-height:23px!important;
    line-height:10px;
}
.photo_left img
  {
	border-style:solid;
	border-width:1px;
	border-color:#FFFFFF; 
	height:40px;
	width:40px;
	margin:0px;
	padding:0px;
}
.pagetitle img{
	float:left;
	margin:0px 5px 5px 0px;
}
/*author yemian*/
.post_info {
	margin:3px 0px 0px 0px;
	font-weight:normal;
	font-size:12px;
	text-align:left;
	height:5px;
}
.post_info a{
	color:#0099cc;
}
.post_info_left {
	float:left;
	margin-left:0px;
	padding-top:2px;
}
.page_info_left {
	float:left;
	clear:both;
}
.page_info_left ul{
	list-style:none;
	width:100%;
	float:left;
	padding:0px 0px 0px 0px;
	margin-top:5px;
	height:18px;
}
.page_info_left ul li{
	float:left;
	padding:0px 0px 5px 18px;
	margin-right:10px;
	background:#fff url("images/page_cate_bg.png") no-repeat left top;
}
.page_info_left ul li a:hover{
	color:#000;
}
.avatar_list { 
	width:100%;
	margin-left:-15px;
}
.avatar_list .gray { font-size: 10px;}
.avatar_list li { float: left; padding: 5px; width: 64px; overflow: hidden; }
.avatar_list p { width: 100%; height: 20px; margin-top:3px; line-height: 20px;  text-align: center; white-space: nowrap; overflow: hidden; -moz-text-overflow: ellipsis; }
.avatar_list:after { height: 0; clear: both; display: block; visibility: hidden; content: "."; }

#index_main_bottom a{
	font-size: 12px;
	color: #fff;
	border:0;
	font-weight:normal;
	background:#1DBDEF;
}
#index_main_bottom a:hover{
	border:1px solid #eee;
	color: #FF0084;
	background:#fff;
}


/*评论列表*/
/*page_commentlist*/

#page_commentlist {
	list-style: none;
	margin:3px 0px 0px 0px;
	padding:0px;
}
#page_commentlist li{
	margin: 10px 0px 0px 0px;
	border-bottom: 1pt solid #eee;
	padding:10px 0px;
}
.page_comment_h{
	font-weight:normal;
}
.comment_text {
	padding-top:5px;
	color:#714B8A;
}
#page_commentlist a{
	font-weight:normal;
	color:#464646;
}
#page_commentlist a:hover{
	color:#000000;
}

#footer {
	border-top: 1px solid #DADADA;
	padding: 10px 5px 10px 5px;
	color:#aaa;
	font-size:12px;
}
#footer a{
	color:#aaa;
}
#footer a:hover{
	color:#000;
}
#footer p{
	margin:0px;
}